package com.h3c.ptability.entity;

import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtAppAdmin
 *
 * @Author: l22886
 * @Date: 2022-03-15
 * Description: pt_app_admin 实体
 * Version: 1.0
 */
@ApiModel(value="PtAppAdmin对象", description="")
@Table(name = "pt_app_admin")
public class PtAppAdmin {


    @ApiModelProperty(value = "应用编码/ID")
    @Column(name = "app_id")
    private String appId;

    @ApiModelProperty(value = "应用管理员工号/ID")
    @Column(name = "user_id")
    private String userId;

    @ApiModelProperty(value = "域账号")
    @Column(name = "account")
    private String account;

    @ApiModelProperty(value = "应用管理员姓名")
    @Column(name = "user_name")
    private String userName;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "PtAppAdmin{" +
                "appId=" + appId +
                ", userId=" + userId +
                ", account=" + account +
                ", userName=" + userName +
                "}";
    }
}
